home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / python2.4 / email / MIMENonMultipart.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2007-04-29  |  794 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. '''Base class for MIME type messages that are not multipart.'''
  5. from email import Errors
  6. from email import MIMEBase
  7.  
  8. class MIMENonMultipart(MIMEBase.MIMEBase):
  9.     '''Base class for MIME multipart/* type messages.'''
  10.     __pychecker__ = 'unusednames=payload'
  11.     
  12.     def attach(self, payload):
  13.         raise Errors.MultipartConversionError('Cannot attach additional subparts to non-multipart/*')
  14.  
  15.     del __pychecker__
  16.  
  17.